<template>
    <div class="box">
        <div><el-icon><span class="iconfont icon-caidan"></span></el-icon></div>
        <div>
            <h3>外卖后台管理系统</h3>
        </div>
        <div><el-dropdown>
                <el-button type="primary">
                    欢迎您管理员！<!-- <el-icon class="el-icon--right"><arrow-down /></el-icon> -->
                </el-button>
                <template #dropdown>
                    <el-dropdown-menu>
                        <el-dropdown-item>个人主页</el-dropdown-item>
                        <el-dropdown-item>修改密码</el-dropdown-item>
                        <el-dropdown-item @click="this.$router.push('/adminLogin')">退出登录</el-dropdown-item>
                    </el-dropdown-menu>
                </template>
            </el-dropdown></div>
    </div>
</template>

<script>
export default {

}
</script>


<style scoped>
.box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.el-button{
    background-color: #d1ffa3;
    border:1px #2b1216 solid;
    outline: none;
    color: #2b1216;
}
.el-dropdown-menu{
    background-color: #f66;
    border:1px #2b1216 solid;
}
</style>